IPrinterService

Types

Link copied to clipboard
Default implementation for IPrinterService.
Link copied to clipboard
abstract class Stub : Binder, IPrinterService
Local-side IPC implementation stub class.

Functions

Link copied to clipboard
abstract fun asBinder(): IBinder
Link copied to clipboard
Get the current status of the printer.
Link copied to clipboard
abstract fun getMaxCharactersPerLine(printLineObject: PrintLineObject): Int
Get the maximum number of characters per line that can be printed, based on the provided PrintLineObject
Link copied to clipboard
Link copied to clipboard
abstract fun printDocument(document: List<PrintObject>): PrintResult
Handles the connection, the print request, and the closing of the connection when completed.
Link copied to clipboard
abstract fun registerPrinterListener(printerListener: IPrinterListener)
Link copied to clipboard
abstract fun unregisterPrinterListener(printerListener: IPrinterListener)